package com.framework.spring.aop.advice;

import lombok.extern.slf4j.Slf4j;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
@Slf4j(topic = "e")
public class BeforeAdvice implements MethodInterceptor, org.springframework.aop.BeforeAdvice {
	@Nullable
	@Override
	public Object invoke(@Nonnull MethodInvocation invocation) throws Throwable {
		log.info("===============aop BeforeAdvice custom===========");
		return invocation.proceed();
	}
}
